]> dgit.raspbian.org Git - gnome-shell.git/commit
main: Notify gnome-session when we're ready
authorAdrian Vovk <adrianvovk@gmail.com>
Tue, 27 May 2025 21:03:34 +0000 (17:03 -0400)
committerAdrian Vovk <adrianvovk@gmail.com>
Tue, 27 May 2025 21:19:50 +0000 (17:19 -0400)
commit1747a59aa5d44f4d7b74e1f1fee1d48174a1ce5a
tree52db5ef1dbfa0a821740b4464d64d4b4652df094
parent9dc73aee2eda5956275aa8a4c453cf20f67df399
main: Notify gnome-session when we're ready

Basically, we recently[1] removed XSMP from gnome-session because it's
been disabled for a while. Mutter also[2] removed its XSMP integration
shortly after.

However, it turns out that gnome-session's builtin service manager was
relying on Mutter's XSMP integration to know when gnome-shell is done
starting up. No more XSMP = no more notification = gnome-session decides
that gnome-shell is dead even though it's not = fail whale

This is a temporary measure. GDM will soon switch[3] to an architecture
that will allow us to completely drop gnome-session's builtin service
manager, and this workaround will go away

[1]: https://gitlab.gnome.org/GNOME/gnome-session/-/merge_requests/139
[2]: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4438
[3]: https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/289

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3730>
js/ui/main.js